package com.sgb.contract.model;

import androidx.databinding.ObservableBoolean;

/**
 * 合同操作日志bean
 * @author cyj
 */
public class ContractOperationLogBean {
    /** 合同编号 */
    public String contractNo = "";
    /** 操作企业名称 */
    public String companyName = "";
    /** 操作 */
    public String operation = "";
    /** 备注 */
    public String remark = "";
    /** 创建时间 */
    public String createTime = "";

    /** 是否当前是第一个position */
    public ObservableBoolean isFirstPosition = new ObservableBoolean(false);
    /** 是否当前是最后一个position */
    public ObservableBoolean isLastPosition = new ObservableBoolean(false);

    public void setFirstPosition() {
        isFirstPosition.set(true);
    }

    public void setLastPosition() {
        isLastPosition.set(true);
    }

    public void setRecoveryLastPosition() {
        isLastPosition.set(false);
    }
}
